<?php
$css = new lfstylesheet;
$css->location = $GLOBALS['paths']['sourceurl'].'tmp/current-list-of-classes.css';
$css->code = '
table.caption {
	font-size: 1.5em;
	font-weight: bold;
	text-align: left;
	margin: .5em auto;
}
#poi { display: none; }
table.courselist {
	font-size: .8em;
	width: 100%;
	margin: .5em 0 1.5em 0;
	border-collapse: collapse;
}
table.courselist thead th {
	background: #d4d4d4;
}
table.courselist tbody th {
	background: none;
}
table.courselist tr, table.courselist td, table.courselist th {
	margin: 0;
	border-collapse: collapse;
}
table.courselist caption {
	font-size: 1.25em;
	font-weight: bold;
	text-align: left;
}
table.courselist, table.courselist td, table.courselist th {
	border-color: #a0a0a0;
}
table.maintable tr.row0, table.maintable tr.row0 th {
	background: #f7f7ff;
}
table.alttable tr.row0, table.alttable tr.row0 th {
	background: #f7fff7;
}
table.maintable tr.row1, table.maintable tr.row1 th {
	background: #e5e5f1;
}
table.alttable tr.row1, table.alttable tr.row1 th {
	background: #e5f1e5;
}
table.courselist tr.noterow, table.courselist tr.noterow td, table.courselist tr.noterow th {
	padding-bottom: 1em;
	border-top: 1px solid #ccc;
}
table.courselist tr.noterow th {
	padding-right: .5em;
	border-right: none;
}
table.courselist tr.noterow td {
	padding-left: .5em;
	border-left: none;
}
table.courselist tr.notetop td {
	border-bottom: 1px solid #ccc;
}
table.courselist td.course-checkbox {
	display: none;
}
table.maintable {
	background: #f2f2ff;
}
table.alttable {
	background: #f2fff2;
}
form#search-courses {
	clear: both;
	border: none;
}
form#search-courses div.legend {
	margin-top: .5em;
	margin-bottom: 0;
}
form#search-courses fieldset, form#search-courses input.submit {
	margin: .25em;
	padding: .25em;
}
form#search-courses fieldset, form#search-courses input.submit {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
form#search-courses div.checkbox input.checkbox {
	margin-right: .5em;
}
#simple-search-options {
	border: none;
}
div.totalrecords {
	text-align: center;
	font-size: .9em;
	font-style: italic;
	clear: both;
}
div.toppagination {
	padding-top: 2em;
	padding-bottom: -1em;
}
.toppagination div.totalrecords {
	display: none;
}
.toppagination, .botpagination {
	clear: both;
	float: none;
	width: 100%;
	padding: 0;
	margin: 0;
}
#course-light-box {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000000;
	background: transparent url({{imgurl}}shading.png);
	width: 100%;
	height: 100%;
	zoom: 1;
	display: none;
}
#course-light-box:hover {
	cursor: wait;
}
#loading-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url({{iconurl}}transparent-loading-bar.gif) center center no-repeat;
	zoom: 1;
}
#loadingText {
	width: 220px;
	text-align: center;
	padding: 0;
	margin: 0;
	font-weight: bold;
}

#search-form-close-button {
	float: right;
	text-align: right;
	margin-left: -25px;
	margin-top: 5px;
	margin-right: 5px;
}

#search-div {
	clear: both;
	display: block;
	width: auto;
	height: 42px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background:url({{contentimgurl}}current-students/academic-information/class-schedule/search-head-bg.png) repeat-x #efeed7 top;
	border: 1px solid #c4c5a6;
	padding: 10px;
}

#adv-search-head label {
	font-size: 1.2em;
	color: #4c4e38;
	font-weight: bold;
	padding-right: .5em;
}

#adv-search-head input {
	padding: .15em;
	width: 31em;
}

#adv-search-head p {
	color: #4c4e38;
	font-weight: bold;
	margin-top: 0;
	padding-top: .5em;
}

#adv-search-head a:link, #adv-search-head a:visited {
	color: #223864;
	text-decoration: underline;
}

#adv-search-head a:hover {
	text-decoration: none;
}

#adv-search-head input#search-head-submit {
	float: right;
	border: none;
	margin: -5px 1em 0 0;
	padding: 0;
	height: 51px;
	width: 51px;
}

input#submit-course-search {
	padding: .25em 2em !important;
}

#adv-search-options {
	position: relative;
}

#sis-course-container {
	padding-top: 5px;
}

#search-loaded {
	background: repeat-x transparent;
	width: 100%;
	text-align: center;
	color: #fff;
	height: 36px;
	position: fixed !important;
	position: absolute;
	font-size: 1.2em;
	font-weight: bold;
	line-height: 18px;
	padding: 10px 0;
	top: -56px;
	left: 0;
}

#search-loaded a {
	color: #fff;
	text-decoration: underline;
}

h2 {
	margin-top: 1.5em;
	margin-bottom: .5em;
}

div.note {
	margin-left: .75em;
	margin-top: .25em;
	margin-bottom: 0 !important;
	padding: 0;
}

fieldset.optgroup {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

a.letterlink, span.letterlink {
	float: left;
	width: 2em;
	text-align: center;
	height: auto;
	padding: .25em 0;
	margin: .25em;
	text-decoration: none;
	border: 1px solid #b9b7a2;
	background: #f1eedf;
}
a.activeletter {
	background: #ccc;
}
span.letterlink {
	border: none;
	background: none;
}
a.letterlink:hover {
	background: #e2e2e2;
}
div.letterlinks {
	float: none;
	margin: 0 auto;
	padding: 0;
}
input.sample-input {
	color: #e2e2e2;
	font-style: italic;
}
div#search-div.full-search-form {
	margin-bottom: -1em;
	height: auto;
}
div.full-search-form #search-course-leg, div.cacheparams {
	display: none;
}
#course-light-box.ie-loading-bg {
	background: transparent;
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);
}
@media print {
	form#courseoptions, form#search-courses, #adv-search-head, #search-div {
		display: none;
	}
	table.courselist {
		border: 1px solid #000;
		width: auto;
	}
	table.courselist td, table.courselist th {
		border: 1px solid #666;
	}
	#adv-search-head {
		display: none;
	}
}';
$this->pagehead .= $css->buildSheetLink();
$css->location = $GLOBALS['paths']['sourceurl'].'tmp/current-list-of-classes.ie7.css';
$css->code = '
	ul#secnav li {
		padding-right: 0;
		margin-right: 0;
	}
	#course-light-box {
		background: transparent;
		filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);
		zoom: 1;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}
	#loading-image {
		position: absolute;
		top: 0;
		left: 0;
	}';
$this->pagehead .= '
<!--[if lt IE 7]>'.$css->buildSheetLink().'<![endif]-->';

if(isset($_GET['template']) && $_GET['template'] == 'printable') {
	$css->location = $GLOBALS['paths']['sourceurl'].'tmp/current-list-of-classes.print.css';
	$css->code = 'form#courseoptions, form#search-courses, #adv-search-head {
	display: none;
}
table.courselist {
	border: 1px solid #000;
	width: auto;
}
table.courselist td, table.courselist th {
	border: 1px solid #666;
}
#adv-search-head {
	display: none;
}';
	$this->pagehead .= '<style type="text/css">'.$css->buildSheetLink().'</style>';
}
?>